package cn.edu.lingnan.lsqn.dao;

import java.util.List;

import cn.cdahua.basic.dao.IBaseDao;
import cn.edu.lingnan.lsqn.model.Column;
import cn.edu.lingnan.lsqn.model.Group;
import cn.edu.lingnan.lsqn.model.GroupColumn;

public interface IGroupDao extends IBaseDao<Group> {
	
	public GroupColumn loadGroupColumn(int g_id,int c_id);
	
	public void addGroupColumn(Group group, Column column);
	
	public void deleteGroupColumn(int g_id);

	public List<Group> list(String hql, Object[] args);

	public List<Group> list(String hql, Object arg);

	public List<Group> list(String hql);

	public List<Group> list();

	public void updateByHql(String hql, Object[] args);

	public void updateByHql(String hql, Object arg);

	public void updateByHql(String hql);

	public void deleteGroupUsers(int gid);

}
